﻿@{
    ViewBag.Title = "按用户显示发帖";
    Layout = "~/Views/Shared/_LayoutPage1.cshtml";
}

@foreach (Model.Users u in Model)
{
    <h3>@u.UserName  (id:@u.ID;发帖数:@u.Articles.Count)</h3>
    <hr />
    foreach (Model.Articles a in u.Articles)
    {
    <ul>
        <li><a href="/Articles/Index/@a.ID">@a.Content [@a.CreateTime;点赞 @a.Zan; 鄙视 @a.Cai ;浏览 @a.Dian] </a></li>
    </ul>
    }
    <hr />
}